import { readonly, ref } from 'vue'
import { defineStore } from 'pinia'

export const useForyouStore = defineStore('foryou', () => {
  const shareAff = ref(null)

  function setParams(_shareAff) {
    shareAff.value = _shareAff
  }

  return {
    shareAff: readonly(shareAff),
    setParams,
  }
})
